package com.capgemini.teamtwo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.capgemini.teamtwo.entity.ProjectSchedule;
import com.capgemini.teamtwo.entity.vo.ProjectScheduleVO;

import java.util.List;


public interface ProjectScheduleService extends IService<ProjectSchedule> {

    /**
     * 根据项目id查询所有的项目计划信息
     * @param projectId 项目id
     * @return 项目计划详细信息
     */
    List<ProjectSchedule> findScheduleById(Integer projectId);

    /**
     * 根据前端输入项目计划插入数据
     * @param projectScheduleVO 前端表单信息
     */
    ProjectSchedule insertProjectSchedule(ProjectScheduleVO projectScheduleVO);

    /**
     * 根据前端输入项目计划修改数据
     * @param projectScheduleVO 前端表单信息
     */
    ProjectSchedule updateProjectSchedule(ProjectScheduleVO projectScheduleVO);


}
